﻿using System;
using System.Threading;
using ExplorerService;

namespace ConsoleApplicationHost
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Starting the service...");
            IsolatedStorageExplorerService.Start();
            Console.WriteLine("Service started. Press any key to stop.");
            Console.ReadKey();
            Console.Clear();
            Console.WriteLine("Stopping the service...");
            IsolatedStorageExplorerService.Stop();
            Console.WriteLine("Service stopped.");
            Thread.Sleep(1000);
        }
    }
}
